package com.hjm.mall.dao;

import com.hjm.mall.entity.MallUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface MallUserMapper {
    MallUser selectByLoginNameAndPassword(@Param("loginName") String loginName, @Param("password") String password);

    MallUser selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(MallUser user);

    MallUser selectByLoginName(String loginName);

    int insertSelective(MallUser record);
}
